<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'manreader.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!-- 加入easyui -->
	<link rel="stylesheet" type="text/css" href="<%=basePath%>js/jquery-easyui-1.3.5/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="<%=basePath%>js/jquery-easyui-1.3.5/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="<%=basePath%>js/jquery-easyui-1.3.5/demo.css">
    <script type="text/javascript" src="<%=basePath%>js/jquery-easyui-1.3.5/jquery.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
  	<script type="text/javascript" src="<%=basePath%>js/jquery-easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>

<script type="text/javascript">
function searchManager(){
	var le = $('#securityLevelCode').val();
	if(le == ""){le = 0;}
	$('#dg').datagrid('load',{
		commissionCorpName:$('#commissionCorpName').val(),
		projectName:$('#projectName').val(),
		systemName:$('#systemName').val(),
		securityLevelCode:le
	});
    resetSearch();
}
function searchChart(){
	var row = $('#dg').datagrid('getSelected');
	if (row){
		var objType1 = row.objType1;
		$("#reId").val(objType1);
		$("#chartForm").submit();
	}
}
function formatId(value){
	return value.id;
};
</script>

<table id="dg" title="站点维护" class="easyui-datagrid"
	style="width: auto; height: auto" url="<%=basePath%>recode/recordlist"
	toolbar="#toolbar" pagination="true" rownumbers="true" data-options="queryParams:{groupBy:'ObjType1'}"
	fitColumns="true" singleSelect="true">
	<thead>
		<tr>
<!-- 			<th field="recordId" >现场测评结果记录编号</th> -->
			<th field="systemId" >系统ID</th>
			<th field="systemName" >系统名称</th>
			<th field="objName" >被测对象名称</th>
			<th field="objType1" >设备名称</th>
<!-- 			<th field="systemName" >系统名称</th> -->
<!-- 			<th field="systemDescribe" >系统描述</th> -->
<!-- 			<th field="projectId" >任务ID</th> -->
<!-- 			<th field="projectName" >任务名称</th> -->
<!-- 			<th field="commissionCorpName" >委托单位名称</th> -->
<!-- 			<th field="protectSortCode" >保护类别编号</th> -->
<!-- 			<th field="securityLevelCode" >系统安全等级</th> -->
<!-- 			<th field="recordJudge" >单项判定</th> -->
<!-- 			<th field="isValid" >是否适用</th> -->
<!-- 			<th field="projectCode" >项目编号</th> -->
<!-- 			<th field="projectType" >项目类别</th> -->
<!-- 			<th field="projectStatus" >第几次测评</th> -->
<!-- 			<th field="projectManagerID" >项目负责人ID</th> -->
<!-- 			<th field="commissionDate" >委托时间</th> -->
<!-- 			<th field="commissionCorpLinkName" >委托单位联系人</th> -->
<!-- 			<th field="commissionCorpLinkTel" >委托单位联系人电话</th> -->
		</tr>
	</thead>
</table>


<div id="toolbar">
	<div>
	<form action="<%=basePath%>recode/getequipmentpie" method="post" id="chartForm">
		<input type="hidden" value="" id="reId" name="objType1">
		<input type="button" onclick ="javascript:searchChart()" class="easyui-linkbutton" iconCls="icon-search" value="查看符合率统计">
	</form>
	</div>
<!-- 	<div> -->
<!-- 	&nbsp;&nbsp;&nbsp;&nbsp; -->
<!-- 	委托单位名称：<input name="commissionCorpName" id="commissionCorpName" class="easyui-validatebox">&nbsp;&nbsp;&nbsp;&nbsp; -->
<!-- 	任务名称：<input name="projectName" id="projectName" class="easyui-validatebox">&nbsp;&nbsp;&nbsp;&nbsp; -->
<!-- 	系统名称：<input name="systemName" id="systemName"  class="easyui-validatebox">&nbsp;&nbsp;&nbsp;&nbsp; -->
<!-- 	系统安全等级：<input name="securityLevelCode" id="securityLevelCode" class="easyui-validatebox">&nbsp;&nbsp;&nbsp;&nbsp; -->
<!-- 	&nbsp;&nbsp;&nbsp;&nbsp; -->
<!-- 	<a href="javascript:searchManager()" class="easyui-linkbutton" iconCls="icon-search" plain="true">查询</a> -->
<!-- 	</div> -->
</div>



  </body>
</html>
